<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>ASContextTransitioning Protocol Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">  </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">AsyncDisplayKit</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/completeTransition:">- completeTransition:</option>
		
		<option value="//api/name/constrainedSizeForKey:">- constrainedSizeForKey:</option>
		
		<option value="//api/name/finalFrameForNode:">- finalFrameForNode:</option>
		
		<option value="//api/name/initialFrameForNode:">- initialFrameForNode:</option>
		
		<option value="//api/name/insertedSubnodes">- insertedSubnodes</option>
		
		<option value="//api/name/isAnimated">- isAnimated</option>
		
		<option value="//api/name/layoutForKey:">- layoutForKey:</option>
		
		<option value="//api/name/removedSubnodes">- removedSubnodes</option>
		
		<option value="//api/name/subnodesForKey:">- subnodesForKey:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">ASContextTransitioning Protocol Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Conforms to</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>ASContextTransitioning.h</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/isAnimated" title="isAnimated"></a>
	<h3 class="method-title"><code><a href="#//api/name/isAnimated">&ndash;&nbsp;isAnimated</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Defines if the given transition is animated</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)isAnimated</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/layoutForKey:" title="layoutForKey:"></a>
	<h3 class="method-title"><code><a href="#//api/name/layoutForKey:">&ndash;&nbsp;layoutForKey:</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Retrieve either the &ldquo;from&rdquo; or &ldquo;to&rdquo; layout</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable ASLayout *)layoutForKey:(NSString *)<em>key</em></code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/constrainedSizeForKey:" title="constrainedSizeForKey:"></a>
	<h3 class="method-title"><code><a href="#//api/name/constrainedSizeForKey:">&ndash;&nbsp;constrainedSizeForKey:</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Retrieve either the &ldquo;from&rdquo; or &ldquo;to&rdquo; constrainedSize</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (ASSizeRange)constrainedSizeForKey:(NSString *)<em>key</em></code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/subnodesForKey:" title="subnodesForKey:"></a>
	<h3 class="method-title"><code><a href="#//api/name/subnodesForKey:">&ndash;&nbsp;subnodesForKey:</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Retrieve the subnodes from either the &ldquo;from&rdquo; or &ldquo;to&rdquo; layout</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSArray&lt;ASDisplayNode*&gt; *)subnodesForKey:(NSString *)<em>key</em></code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/insertedSubnodes" title="insertedSubnodes"></a>
	<h3 class="method-title"><code><a href="#//api/name/insertedSubnodes">&ndash;&nbsp;insertedSubnodes</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Subnodes that have been inserted in the layout transition</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSArray&lt;ASDisplayNode*&gt; *)insertedSubnodes</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/removedSubnodes" title="removedSubnodes"></a>
	<h3 class="method-title"><code><a href="#//api/name/removedSubnodes">&ndash;&nbsp;removedSubnodes</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Subnodes that will be removed in the layout transition</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSArray&lt;ASDisplayNode*&gt; *)removedSubnodes</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initialFrameForNode:" title="initialFrameForNode:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initialFrameForNode:">&ndash;&nbsp;initialFrameForNode:</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The frame for the given node before the transition began.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (CGRect)initialFrameForNode:(ASDisplayNode *)<em>node</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Returns CGRectNull if the node was not in the hierarchy before the transition.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/finalFrameForNode:" title="finalFrameForNode:"></a>
	<h3 class="method-title"><code><a href="#//api/name/finalFrameForNode:">&ndash;&nbsp;finalFrameForNode:</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The frame for the given node when the transition completes.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (CGRect)finalFrameForNode:(ASDisplayNode *)<em>node</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Returns CGRectNull if the node is no longer in the hierarchy after the transition.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/completeTransition:" title="completeTransition:"></a>
	<h3 class="method-title"><code><a href="#//api/name/completeTransition:">&ndash;&nbsp;completeTransition:</a></code>
<span class="task-item-suffix">required method</span></h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Invoke this method when the transition is completed in <code>animateLayoutTransition:</code></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)completeTransition:(BOOL)<em>didComplete</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Passing NO to <code>didComplete</code> will set the original layout as the new layout.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">ASContextTransitioning.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2016 AsyncDisplayKit. All rights reserved. Updated: 2016-11-05</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>